Update used environment