fix bugs with updater