updated url check