Update and use hashes