updated the prefered environment