updater works correctly