Update record-type