commit new hash function