Factors can update parameters for each sample. They subscribe to specific variable names, and they are passed to them at each iteration. The factor have an update type and decides how to parse the incoming variables.