update Maximal_Rectangle