added possibility to hook after save/delete events