Well Samsung took us by surprise.
I wasn't expecting One UI 3.1 to arrive on M31 anytime soon.
Well the update installed without any error.
So far encountered no error.
And after update do give your phone some time.
Some background tasks happen.
Like some bloatware apps are installed.
And update your apps too.
Then restart the device.