Hey, I noticed that the date in lastmod operator has not changed after I updated metadata and title. Does lastmod only picks up the changes in the <body>? thanks!
Changed lastmod means for Google that your page is changed and should be placed in the crawler queue. If your site is relatively small (not 100K pages) then I suggest to make lastmod updated for all text changes (meta tags may also be important, for example for snippet). If it will cause a lot of unneeded traffic then update lastmod only on important changes like body.
Often, your webserver will output updated "last-modified" information. You can check this article about our sitemap generator and last modified. (I think it's likely other sitemapper software deal with it the same way)