simplify UpdateWithObj.