update ansi and for elastic search 1.2.1