update curves