Added update view logic to home screen