update "add teacher to class" button