change SCORE to WEIGHT in updateScore command.