[BUGFIX] writing from an instance now properly updates the cache