updated the view to chekc the balance