Update enviroments.