small adjustment to scoping in the updater