Fixed issue with scoring in update_score.