updated dependency to mongoid