updated url helper with modern syntax