done update method