added an example for afterDelete callback