You asked

Should I upgrade from the leica m typ 262?

The guide doesn't say whether the Leica M (Typ 262) is worth replacing. It has no comparison with a newer body and no upgrade advice for this camera, so a yes or no would be a guess. The Leica M (Typ 262) page gives the basics: a 24-megapixel full frame rangefinder announced in 2015, with no stabilisation in the body.

The useful question is what is holding your photos back. If you shoot in dim light or at moving subjects, the guide's logic points to a faster lens and a larger sensor before anything else, since stabilisation steadies the camera, not the subject. The Typ 262 has no body stabilisation, so for slow shutter speeds you would need stabilised lenses. A lens upgrade may fix a problem more cheaply than a new body. If the frustration is with the lenses you already own, look there first.

If you do want a new body, the guide's buying used page says a body one or two generations old is often most of the camera for much less money. The guide's M-D page lists a sibling with the same 24-megapixel full frame sensor, announced in 2016, but with no rear screen. That is a different way of working, not a clear step up.

Prices aren't covered here for this camera, so check the current listings before deciding.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.