Updating for http/https