Fixed regression lines not being updated