change prior fix to UpdateByFunc to use existing approach used in UpdateWithObj.