add notify and change the notify snippet to new stork methods