Modify Class Labels Not changing the Annotations In XML files

I have annotated around 5,000 images, but now I have to change the class labels for some testing reasons. To change the class labels, I have used the roboflow preprocessing step "Modify Class, where i have changed the labels and added new names. After that, i generated a new dataset. The problem is that when i export the dataset to Pascal voc format. In the modify labels page, my labels are changed, but in the xml files, the labels are as per previous classes. How to fix this issue. Kindly guide me.