Update tree-hash.c