update image style margin