Update training data.