add template to dependencies