do UPDATE in AccountId order to workaround mariasql driver bugs, add /balance/XX handler