update script define.