update generator for last shims update (use constructors instead of register functions)