update balance in offline mode