update max flow