added reload_templates() method