updating elasticsearch configuration