Update dbapi.py