solved no teacher graph update after student removal