correct example to new sdk
