update exercise 5