final tweaks to the self-update functionality