modify field attribute