Updating next url