delete objects relationship when delete a object