Updates host details and http to https.