check conditions on modelSaveAfter to apply badges and score