save groupingid in the assessment