update group_by for student info