update http to https