upate enviroment setting