updates to scatterplot