Export data and use command to update data file
Fix wrong paramater