Updates exercise 2