Updating with gallery page and index page.