updated scatter plot