update data in firestore

CSS
 //update data in firestore
 db.collection('users').doc(id).update({ [id]: value })
 
Source

Also in CSS: