Update pluginMain.cpp