test update subtree