Update hosts to use a hash.