Update cache_flow.py