add support for widgets in plugins, add UpdatePlugin command