change to db config