when the Group entity is removed the join table with Document entity should be updated appropriately to maintain data consistency