Update record.