Bug fix on score update