add map to index file