So I took the UPS to a shop and told him exactly what I told you, he checked the UPS and told me the transformer is weak/buggy and if I get it repaired it will be 3-4K BUT I should get it replaced which will cost 6-8K.
He also suggested that I should invest in a new UPS instead as this one is old and doesn't have the ability to adjust the voltage fluctuations we see nowadays. He said he has three qualities of UPS he can make me, starting from 10K with cheap stuff, 13K with normal quality stuff and 16K with high quality stuff and 1 year warranty.
I told him that I just spent 23000 on these two new batteries and honestly don't want to spend anymore, he changed the charging wire from medium Amps wire to max Amps wire and said this should fix the issue for you temporarily.
I cam home hooked up the batteries and it charged the batteries in 40 mins, I was surprised so I hooked up multi meter during next charging and was shocked to see charging at 30A, then from time to time it reduced a bit until it got till 22A when the charging finished.
The battery terminals were hot as hell and the transformer of UPS was quite hot as well, I knew that can't be good for the UPS or my batteries. But it did charge the batteries fully in less than an hour after 1 hour of loadshedding, so that was good to see, but I know it will ruin my batteries eventually at such a high Amps and my bill will be outrageous as well, right???