updating id columns to be unique even though they aren't the primary key