Update to match current signature for `insert()`

The docs do not match the function signature.