[fr] Follow #746

added an example for afterDelete callback