Update url for proper protocol.