Update deleteDuplicates2