Update SonataMediaExtension.php