adding db config