Adaptation of the educational system and the system of occupational training