If uniqueColumns is unique, you need to make sure the column is still unique after the updates:
UPDATE d.uniqueColumns = d.uniqueColumns + + CAST(d.RN AS VARCHAR(255))
FROM (
SELECT *, ROW_NUMBER() OVER(PARTITION BY unqiueColumns ORDER BY whateverOrder) AS RN
FROM yourTable
) AS d
WHERE d.RN > 1;