Update dbConnector.py

fix wrong API calls