add delete function to dbapi.py