update for new protocol