update method working!