update elasticsearch adapter for __transform