updates to indexing scripts

- "update" operations are required in order not to overwrite documents
- more shards, less replicas
- JSON encoding issues