upload, and sync phase 1