updated create TrainingData