update register teacher