Update mod_photos.php