update edmonds_karp