exercise 8- update