update for SSL