update to new version of apiclient