Modifies mongoid config