1) In your MProfit portfolio summary screen, right click on the Stock name and select Other Transactions. Then, click Add Merger.
2) Enter the name of the new company, effective date of merger and total shares of new company received after merger (as per merger ratio). Next, save the transaction.
Example below: