add template job definition