Replace the uniqueIdentifier value in the hashmap.