update balance upon db change