Update margins.