add the set in many different cases indexed by setId