Update tree.c