add summaries to metadata