Fix `set()` method to set the value instead of adding it to the existing value