Updated template_adapter for jobs