Judging from the error message, you have a typo in your script.
Error 42P01 "relation sysmodulealcz does not exist"
in this error message it seems like you're trying to edit sysmodulealcz, whilst the actual table name is SysModule(for English localization) and SysModuleLcz(for other localizations).
Apart from that, you can simply rename the section in the section wizard and the changes will be saved in the database.
Unfortunately I've made a typo here, not in the Script. So it's not that. I want references also to be renamed, that is why it is important to do it with the script