Hi, which part does not work? Removing or inserting?
Have you tried calling update() after the operation?

Ginsengelf