`url` and `type` should be modify too