Updating and adding a gallery.