change the current environment setting