updating template docs to defdocs :books: