Update MST Kruskal Algorithm with Visualization