added notify method to events module