update the script.