Transformer in the UPS board will burn up due to excessive heat.
Increasing the battery capacity will increase the charging time, which in turn puts more load to the transformer.
Normally desktop UPS comes with 12volt 7AH battery.
You can use 12volt 12AH battery as the upgrade. going beyond...