update script loading