Update script for creating Elasticsearch mappings.