Uptate memcache api to allow to specify duration per entity