Update single curve function