Update comments to match function parameter names