Added support for updating plugins.