Yes. Then it works. Add a new post and see if it changes.
You can submit your sitemap to search engines but they will eventually pick it up regardless. Just give it time to see results — it’s not instant.
Use Google Console
https://www.google.com/webmasters/tools/sitemap-list to make sure it’s getting picked up.