Updater function errors fixed