[SOLVED] After update SQL, but in Firebase

Hello friends
Is it possible to emulate that implementation on firebase?

For example in Editar Movimientos changes the cantidad value of the Individual faja item from 1 to 2, then in articulos, field enstock must calculate 3 - 1 + 2

image

image

Thanks!