edit code snippets