Rename get_hash to set_hash