Add function to export data
Update binary