fix sample link for train api