change download url from http to https