update balance.