add update() method to view