update environment setting.