update to template cache.