adding upload to sync_getsample