Update boxgallery.php