How to change the name of already configured alarm using script?

I am trying to change the name of already configured alarm in a tag using python script using 'system.tag.editAlarmConfig'. But every time I do it, it creates a separate alarm rather than editing the existing one
Please suggest a way to edit name of existing alarm
Thanks!

Try using system.tag.configure() to complete replace the .alarms property of the tag.

I am able to replace the alarm using 'overwrite' collision Policy, but this overwrites the entire tag and not only the alarms part.. Is there any way to only over write alarms part of the tag?