Change dynamic environment method