updated spanning tree