update json api for url_prefix