Update margins