Fix issue with updating data for mongoid backed model.