update items and index page.