Change Mongodb database configuration