add write_memcache