add and update score