Update sample environment.