Update tree.