update style margin