updated hashing