Fix bug in server update script.