update score with ajax