add a account balance reduce function