update urls
serve empty response on file not found and invalid input