update curve