updating the script