update pregen wrap to 2.0.12