update method params