How can I update instance render after they've been removed?

Using RemoveInstance(index) Doesn’t seem to update the render. I tried using MarkRenderStateDirty() after I was finished removing the instances but still I can see the original instances in the scene.

clearInstances(); This also Marks the render state dirty.