modify the sitemap generating mathod