update script.