How to add / update local notifications


As I read in the doc of ionic local notifications

If I want to add multi notifications I should use this way:

   id: 1,
   text: 'Multi ILocalNotification 1',
   sound: isAndroid ? 'file://sound.mp3': 'file://beep.caf',
   data: { secret:key }
   id: 2,
   title: 'Local ILocalNotification Example',
   text: 'Multi ILocalNotification 2',
   icon: ''

But what about if I want to update the second local notification ?
And how can I add new local notification (without lose the old notifications) ?