Improvements

How ? I need to wait processingCount = 0 and the end of the function updateAccount.