Legislation in training and retraining for the implementation of investment projects