updating view for account page