update download and sync api

update download and sync api