update student,teacher,index