update library
test spec ref curves