Updating tree.