Update layout