added updateBalance function call to addincome and addexpense function