Updating the training