minor fixing
implement edit function
improve modules subjects, teacher_subject