I modify the update method