updated update script