fixes #3 updateValue now checks for field existance properly