change class name and message action