Now if item_id or unique_name change, that counts as a record being deleted and a new one inserted. If neither of that changed but any other field did, the old field gets updated with the new value.