updating the samples path