tree structure updates