upgraded to new api client version