Updated update script.