on update script trigger