tree: fixed non result updating bug