added some comments to the updateLearningMaterial model functions