added callbacks on save and destroy