add additional fields to metadata