update api client dep.
write files to disk