updates class names