Fix some fourberie of update script