method for updating notification statuses