Updated with mongodb common config