data points now update correctly when changed