sync to firebase