add map to index