Improving UpdateObject.