You can find a rollback button in the update UI page, just simply click it and then you can switch it to the previous version.
Firstly, please find a config file inside the CodeGen root folder
Secondly, edit it via any editor and change its version value
Restart CodeGen Service manually, so far, you have reinstated to the previous version.