Install python3.9 instead of python3.6

Dear Team,
i have been installed cyberpanel on Centos 7 and configure my project but the problem there are a lot packages not supported in python3.6
so i need to remove python3.6 and install python3.9 otherwise my project will not working
Thanks in advance for your efforts and support