Update file-gallery.php