updated paths for trees