updated to latest version of api client