change API url to ssl
change domain name reference on sync