updating scatterplot on dropdown change