updating hostnames