evolve template of doc