modify image URL and update link URL to latest