How can I edit sidebar links that are added with api.addCommunitySectionLink?

Would the changes be reverted on every component or plugin update?

I guess the approach is then to not add a default link at all.