update balance after successful transaction