sync typedefs