Update layout and routes.