update description of hash function