Update Maximal rectangle Hist DP