update gallery page