add cascade deleting function in DeleteHandler