Wil the XML file update itself or we need to regenerate and upload it everytime we add new pages? Thanks for answer..
It depends. If you have a static website and you manually created the XML sitemap than you have to regenerate it. While if you have a wordpress blog for example and have installed the sitemap generator plugin that you don't need to update it.