Update raif_gallery.php