Please enable JavaScript
We can query or we can use getInstance() to get the value and then we can use update DML Operation to update the Custom Settings value. Blog Post: https://www.infallibletechie.com/2015/08/how-to-update-custom-settings-value.html