Simple answer is use .Remove and then .Add when you want to replace the value.

Use .Exists if you want to do it conditionally.

Wrap it up in a couple of UDFs and you're done.