update scatterplot example