update replace for http:// and https://