updated: add codes parameters for download url