update for more data points