add references of fields to its struct
update gdf