update doc, rewrite_tag_filter to add ascii diagram