fixed small bug in updater