Updates the local hosts file.