update doc within templates about data attr