updated the path to the URL from the ID