Update adapters.py