finish updating tree_package