Update the current hash type when doing a lookup.