Adding an update view method