update sample env