Update layout resizing