updated samples after new SDK