Update margins & line elements