Updated index page and pattern template