Added minor changes to code behind for UpdateClient.