Perbarui data firebase firestore javascript

db.collection('orders').doc('docId').update({
  property: value,
}).then(() => console.log('Data updated'))
coderkhalid