update sampler for linux