update page gallery