SNMP Target MIB Address saving to NVRAM

Hi

I have been runnig Net OS7.4 with a SNMP application and when I modify the Target MIB address for a trap it works fine and sends a trap to the new address but if I reset the Digi module the trap address is not saved and a default value is then used.
How does the Target address get saved to non volatile memory? Is this automatic or does it have to be done through the Target MIB? Or is there some code I need to provide to accomplish this task.
Thanks