update teacher detail