Update Dijkstra, NOT working with undirected Graphs