You asked
Should I upgrade from the leica m p typ 240?
Here is what the site says about that.
From Leica M-P (Typ 240): Leica M-P (Typ 240): A rangefinder by Leica with a 24-megapixel full frame sensor, announced in 2014. A Typ 240 with a bigger buffer, a sapphire-glass screen and no red dot. 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: 2014 - Type: rangefinder Focal lengths ...
From Leica M-E (Typ 240): Leica M-E (Typ 240): A rangefinder by Leica with a 24-megapixel full frame sensor, announced in 2019. A lower-priced version of the M (Typ 240).
Quoted from this site's pages.