Updated sample to get new resource path