Changes in Update Score function