edit snippets and custom key