updating for custom url.