flow graph update