update enviroment settings