caching local changes