Bugfix: compute the update of env['models'] better

Use a temporary var and update it with the existing state and then the
newly loaded data rather than attempting to compute the same value
inline with the + operator.