change class name saving meththod