update url to root