update to tree