added new server update logic