Upgrading from core 2.5.2.4 to 2.6.0.4 clears all trunk details

It is strange, after upgrading freepbx core to 2.6.0.4 all the trunk details are lost, the trunks are still listed in the trunks list but all the details like the peer details and register strings are empty.

How can I upgrade without losing these details or how can I restore these details after upgrading without having to retype these manually.

I have restored the last backup now, the details are now visible again, but it says that the core 2.5.2.4 is now active.

I am using the latest distro from PBXinaflash, asterisk 1.4.