Updates the value at key with value.
Arnau Mora
20220829
The context that is requesting the data.
The preferences key to update.
The value to set at key.