Added ttl for the set operation