replace redis setex with set