Update snippets name and clear code