How to Update python version in Psychopy

Hi,
Please can anyone tell me how can I change the version of python in Psychopy? My psychopy has python 3.6 but I want to update it to 3.10, any one knows

How did you install PsychoPy (standalone distribution, installed through a package manager)?

And any specific reason you want to update Python? PsychoPy itself recommends 3.6 so if you are only using PsychoPy there is no real reason to do an update.