addtree finally commit