Edit Class Routine