update exercise 2