Update environmental variables