update script loader