allow update() to run from anywhere