updated comment doc for func notify