update api/params for docs