upgrade demux_svc.py module