update script and data