updated code to new url