added new function to change the url
added new function to change the url