Update mongoid syntax