change treedict for forest