macOS Recovery disk utility is way older than disk utility on my drive I am trying to reinstall  my macOS. I'm currently on version 10.15.5 (Catalina) and my disk is formatted as APFS. However, when restart the computer and hold command+R to go to recovery mode I get the version of the OS that is way older (Mavericks). When I go to disk utility I see that the version is from 2012, and my disk isn't even visible (probably because that version of disk utility doesn't recognize APFS). When I click to reinstall OS I see that the version that will be installed in indeed Maverick, and the installer also doesn't see my disk.
Is there any way to update it to the newest version? When I start up my OS and open disk utility it is a newer version and it sees my disk successfully. Or is there any other way to reinstall macOS?
Reinstalling is pretty easy these days:

https://support.apple.com/en-us/HT204904

If the old recovery functions, I wouldn’t worry about it. If you can boot to internet recovery, that also means you don’t need it.

Make a backup - you may need to erase everything to fix this, so be ready now.
Boot to any recovery OS and reinstall your OS - this doesn’t delete anything but does overwrite the system and make a new OS install and migrate all your apps, data, settings to the new install.

If you decide you need this to be updated / perfectly clean, follow the erase install guide. You will need your backup since this deletes everything from your Mac:

https://support.apple.com/en-us/HT208496