update hashes