update to use notifysendmsg