Update hostnames.