update for ssl