updated plotting score