modify the update script