thank you i will check your example soon, currently i have create somethink with 2 querys where the first query try a $set and if the matchedcount from the query results is 0 then i have code to make a $addtoset query to add then new questions, but i think your example if it does the same work with only one query will be better, or?