I want to switch my project from UE4.21 to UE4.22 when switching path is wrong

I want to switch my project from UE4.21 to UE4.22 when switching path is wrong
When exporting a game says there is an error and does not work