updated db conf for python