update role for teacher