updated the update script