add all metadata values to correct pages