Dataset not operating as expected

the issue was because i would call the updateStatitsitc() method 4 times at the same time. since the save/update tasks are async, it was pulling data from the query and saving out of order

https://en.wikipedia . org/wiki/Race_condition#Example