Upgrade sample to new API