remove posts and update sidebar