add notify snippet