Edit class