Fixed esindex to use plugin upload endpoint