Hey mate,
I don't think there is any need to do all this and make things complicated. You can simply use wo maintenance
or wo stack upgrade --redis
to update the Redis to update to the latest version available as per the OS.
Here is what I have on my up to date Ubuntu 20.04 based server where I didn't do any manual stuff to update Redis: It's still Version 6.0.6 which isn't the latest one but still, it's not Redis 5.0.3 too.