updated mgbox margin