The development of the teacher’s professional competence in the training system