update files for kruskal's algo