update tree_build