update Curve.unity