Update BaseMediaAdmin.php