Update layout, define routes