Update tree.class.php