Moved the hostnames UI update code into HostessUI.updateHostnames()