updated url in constructor