grant script update