add 2 data types to elasticsearch handler