Fix updates so they take place in the correct environment.

Also remove a term from the Laplace approximation that causes disagreement with lme4 results.