updating the db config