Correct way to Add/remove array of objects

Hi, I wanted to know what is the correct way to update the array of objects
Array = [{_id: ‘12345’, name: ‘asdf’}, {_id: ‘567890’, name: ‘ghjkl’}]

Whenever I push/filter out object in it, the other gets empty

realm.write(() => {
Array.push({_id: ‘4567’, name: ‘abc’})
})

+1 have exactly the same thing. What’s going on here?