Update sofia_pipeline.py