upadate snippets