rename type field, add additional fields