Originally posted by **scampos-smarttech** January 19, 2024
Hello,
I would like to get some help. If I modify conditions within role rules targeting specific users, that role's event listener does not notify those who no longer meet the requirements.
My setup is as follows:
I create a new feature in the dashboard and configure its rules with a custom field for it. The configurations is as follow:
```
Key: enable_beta_features
Type: Boolean
default value: Off
rule: "beta-user" > Boolean > equals > true
```
In the code, using `featurehub-javascript-client-sdk`, I set an `addListener` for that feature, and then I update the user-context by adding the beta-user attribute and. But if I change the feature rules in the panel, the users who are using the app do not receive the live-update. My expectations are that those users that don't meet the new conditions will receive the default feature value.
It is possible to get the live-update in this case?
As a workaround, it works after I refresh the browser, but my expectation is to receive the live-update.
Thanks in advance!
Discussed in https://github.com/featurehub-io/featurehub/discussions/1108