update score to html text because of performance issues