updated update script
updated update script