Introduction to Spanning-Tree

Can we use STP as difference mode and BPUD can update with together ?