updated to new version of plain elastic