Update for new hash API