add config for mongo collection