Plugins install\upgrade\dpwngrade logic redesign