Updater bugfixes and removal of temporary files