add version number to training data