fixes to auto updater