update example of index