Update hash

Check against value in instead of checking the value.