changed syntax: update functions renamed to 'notify'