Change update to update_attributes