Updates for training.