change logic of working of updater