Update Mongoid config