updating for relative urls