update base url to support https by default