update doc and main template.