Update Min cost max flow