updated memcache example