tweak: simplify used variables in updater