update the resource url