Can't upgrade HDRP to latest version

The version im using is 8.1.0, in the package manager it says that its the latest version although 10.4.0 is the latest version as shown in the HD Render Pipeline Wizard window.
I enabled “show pre-release packages” but nothing changed.

I tried to manually set the HDRP version to 10.4.0 in the manifest.json in the Packages folder and it seems to be updated but I got this error "Library\PackageCache\com.unity.render-pipelines.core@10.4.0\Runtime\Textures\TextureXR.cs(42,45): error CS0117: 'GraphicsDeviceType' does not contain a definition for 'PlayStation5'"

Hey there, are you using a version of the Unity editor that supports the version of the package you are trying to use?