Load plugins and activate middleware in update-in.

Fixes #1375.