update a field specified by a variable

Thanks JD