update hostnames