fix broken extend implementation on DynamicStorage (#86204)
### What?
This implementation was broken. It did call `add` instead of `insert` and that doesn't override existing values as it should.
It could also be a bit more efficient by using `extend`.