added metadata to index