updated client api to latest