Removing the class is still exist

I was creating a dataset, and I updated the name of the class but later, I identified that the previous class name and new class name exist. For example,

Class1: images
update class1 name to class_1
Now both classes are referring to the same image.

How could I handle this issue?