update the link with proper format