delete the old curve fit and add a new one