Update tree.php