update mongoid requirement