change the curve position