updating spline interpolation