Update GalleryAdmin.php