Update wget url and logic