updated url hooks