update method for params in new docs