update template path in hook install