update Config to DBConfig