update_attribute changed to updates_attributes