update achievement: also check if students now fulfill the requirement and earn the achievement.