Update GalleryDetails.php