updating the script task