Updated sample with SDK v.1.2.1

Signed-off-by: AravinthChandran <arvinthchandran@gmail.com>