update to elasticsearch 1.2.x