update sample path