Update Framework7 to V5 from V3

Dear All, I have V3.4.2 installed and want to update to V5 and I run all the commands to update but unfortunately I am not able to get the updated version.

npm update framework7-cli
npm update framework7

npm uninstall and install again … still the same version.

Can anyone please help?