Sounds like you need to fully recreate the decoration set with createDeco
when the set of variable changes. I.e. set up the view plugin that maintains the decorations to check the value of that state field, and only use updateDeco
when it didn’t change in an update.