Fixed some server update bugs.