update write in cache object