sync api
update -- not work yet