forEachItem for update repeater items

i need help with my code, it doesn’t work to save the items
look

$w("#repeater2").forEachItem(($item, itemData, index) => {

    wixData.query("COLABORADORES")
        .eq("_id", $item("#text12").text)
        .find()
        .then((results) => {
             if (results.items.length > 0) {
             let items = results.items;
             let item = items[0];
             let nome = item.nome
             let _id = item._id

             console.log("find" + index)

             let toUpdate = {
                 "_id": _id,
                 "nome": nome,
             };

             wixData.update("COLABORADORES", toUpdate)
                 .then((results) => {
                     let item = results;
                     
                        console.log("save" + index)
                        
                     })
            } else {
            
            }
        });
})