updating the notify behaviour