update form for class management