def METHOD_NAME(self, app, cache) -> None:
    @app.callback(
        Output(self.id("mp-app-content"), "children"), Input("mp-url", "pathname")
    )
    def update_main_content(pathname):
        _, payload = parse_pathname(pathname)  # noqa: F821
        return self.get_layout(payload=payload)