Changed editSample route