update for memcache use