minor optimization in updateField