Change the disk for a modern m2

Hello. I still use this tablet from time to time but I admit that it is already slow. Has anyone tried to change the hard drive they have for a current m2 to gain speed and space?
Thank you.

It wont accept.

Besides as is discontinued we dont have updates for iut