FIxed bug in updater