updating links as http links