update method 2