fixed #update method