change class pin