Update layout and routes