added time parameter to memcache.set