finish updating the view from the API response
(end of lesson 2)