Updating Scatter function