Update gallery.