added metadata on documents