update some snippets
add snippets