prevent weirdness in update script