update the script