fix exiting of updater