update typedefs