add memcache to model