update notification logic

proper whitespacing for block syntax