change class name and add class