Im trying to add an object in the array "steps" from collection task, without delete the objects that already inside the array
queryDocumentSnapshot.ref.set({steps:[{title:newStep,completed:false}]});
alert('This task has been updated');
But when I use set, its deleted all the old fields.. Hoe can I update (add new element in the array) without delete..?