Update tree.h