update animation curve