Creates null value item in firebase on init fetch on table(because runs update item)

I have a table with items from firestore. At the same time I have query to update item, which runs automatically when inputs change. So this query runs when I open table and creates new item on Firestore with null values. Is that ok?