Payment system: a user's wallet balance is updated by many concurrent transactions. Which approach is safe?