Update MaximumProfit