The simplest way to update the title is to include a title element anywhere in the response. 

    <title>New title</title>

I’m not sure if the same is true for meta tags. You can ask I in the htmx discord server, since swap functionality is handled by htmx.