Update AutoTree.php