Changing the value of an existing custom field

Changing the value of an existing custom field. This one is reasonably trivial, it gets more complicated when adding a value of a custom field that wasn't there before. I'll keep that one for the next pull request.