update communityContextPrediction class