Fixed custom field updating bug.
Thanks to John Burch @ https://groups.google.com/forum/#!topic/capsule_api/mG3MoaN8lqY