add ttl to set