In your update comment snippet, you default the score to 1 if it's not present. Was that a typo? Or is that correct?