Edit snippet