add template_engine_registered