update script type