updates to tree