Update the score calculation algorith