Update treepath.php