update replace for http:// adnd https://