Update exportData

FINAL CODE.