updated config for DB