update rake task with export api