Takis,
Thank you very much for your support, I am trying to implement this using Spring Data MongoDB, somehow not able to produce this one,
to confirm again, I would be receiving friends list (this can have new elements or old elements with various fields changes or new fields for a list item ), so I need to loop through incoming friends list and match if exists then I have to make update or else insert that element using addField can all this has to be done in single query
is it possible ?
if not, please suggest guidelines.