update for new communication protocol