update method change params