auto delete group-cateogory relation when category is deleted