update url to https