Update graphAlgorithms