You will likely need to use a combination of the wildcard operators(*, ?) and maybe the aaname(text) attribute by the looks of it. maybe something like this:
<webctrl id="*-cnt" aaname="Update" />
Wildcards: If there are parts of your ID that will always be the same, then at least the wildcard in the selector will help somewhat in the selection process.
Asterisk (*) – replaces zero or more characters
Question mark (?) – replaces a single character
UIPath Selectors with Wildcards Documentation
I would recommend going through the Foundation Training for UIPath as it seems to help quite a bit and it is free. Honestly, though, it is my opinion that RPA is not perfect for every web application use, especially when there is highly dynamic HTML and unreliable selectors. Angular & Knockout apps are great examples. Many time Angular uses javascript objects instead of specific IDs and data-attributes, which UIPath does not have access to, so this creates an environment where you have to get creative with selecting selectors that will work. It also means that those selectors will break with any little code changes.