update api client to fix parsing error