finished update method sample