update for current mongoid