added updating of pivot table for deleting feed