Update gallery.rb