Update flows.py

Noor's work ....added table_id