commit before uploading all data