I don't have either so take what I say for what it is.
Did a small search for you and it does seem that the M50 is a discontinued product and M25 is the latest. M25 has also some features like deep sleep that the M50 lacks. The ear loop designs are also different so the comfort factor maybe different.
If you can return after you buy, I would try both