update the param typing