update to script