add ttl for key/value