You asked
Should I upgrade from the leica m10 p?
Here is what the site says about that.
From Leica M10-P: Leica M10-P: A rangefinder by Leica with a 24-megapixel full frame sensor, announced in 2018. An M10 with a quieter shutter and a touchscreen. Specs - Maker: Leica - Mount: Leica M - Sensor: Full frame, 36 x 24mm, crop factor 1.0 - Resolution: 24 megapixels - Stabilisation: none in the body; use stabilised lenses for slow shutter speeds - Announced: 2018 - Type: rangefinder Focal lengths on it Full frame is ...
From Leica M10-R: Leica M10-R: A rangefinder by Leica with a 40.9-megapixel full frame sensor, announced in 2020. The high-resolution M10.
Quoted from this site's pages.