Fix error in updater