change the hook for sitemaps