Added updateScore method for future use.