Update layout template and navbar