changing mongodb setup declaration