Fixed score update bug