Bugfix in update script.