update environment config