Microlensing search towards M31