FOR item IN @@collection FILTER POSITION (['form', 'revision'], item._info.type) == false && POSITION (@statusList, item._info.status) FILTER item._key == @updateData._key UPDATE item WITH { followingList: PUSH (item.followingList, @following, true) } IN @@collection