Use update_attributes for ruby 1.8 & mongoid 1.x compatibility