Update attributes in shapefile