change saved hooks to aftersave for sitemap and pagecache