update
change the way updating score