Main method for discrete generator.
Correct state variables in discrete update models.