update tree2