Fix update script.