update snippets resource json