update template shadow dom sample page