Update doc for template