update to sample path