modify mongoid config