Hashing bug fix

Hashing now works properly for updates (you might need to reload the
schema/functions)