Sample application updated to use newer sdk.