updated endpoint to correct one