clean snippets
update snippets for html