updating client sample

updating the client sample to latest sdk.