update [my_table] set [row_uid] = newid() from [deleted] A where A.[UID]=my_table.[UID] and my_table.[row_uid] IS NULL