Updating elasticsearch configuration.