Update bridge.py