index update lesson 3