Update of splineMatrix and getJSON