Update Mesh collider

I’m dynamically changing vertices at runtime. How can I update the mesh collider to fit with the new vertices?

Assign the mesh to the mesh collider. Note that this is relatively slow.