test updating field attributes