Confusion and problems regarding update

That’s a new topic. Short answer: you still need to do this manually because the updater script is running with webserver-permissions and strong permissions makes root the owner of the code.