Updated sample to use SDK v1.2.7