update environment after changing proxy variables