Updated ES calls to use kwargs as recommended by docs