score updated correctly