update html snippets