updating dataflow