update for curve