modify update script