Add methods to update the index page