update default.html and template.html