updated mongoid