udating db config