Upgrading from core to clears all trunk details

It is strange, after upgrading freepbx core to 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 is now active.

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