Live editing of trees