update library code with new type C99