updating flow_table