Updating account balance when a transaction is created