updating config.php for templates