Update default hostnames to localhost