adapt the new notify package