Update mac environment