updating ajax request from http to https