Add setex functionality to value