How to upgrade a contract deployed with version 4.9.0 using 5.0.0 contracts?

A post was merged into an existing topic: [Emergency] UUPS Proxy contract not working after using zeppelin upgradeable v5.0.0