Updating 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?