flow_stats update