Updates list of hostnames