update the module for the generator