Update MainProcessManager.cs