update the script objects