simplified update method