see: updating nonlinear poisson example